package cvi.com.reader.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 梅涛 on 2020/7/30.
 */

public class DraftsBean  implements Serializable{


    /**
     * code : 1
     * data : [{"id":41,"material_category_id":13,"material_name":"艺术大魔法","material_name_pinyin":"ysdmf","author":"佚名","author_pinyin":"ym","type":"1","cover_img":"","lt_img":"","rb_img":"","bg_img":"","font_color":"0","center":"0","content":"","media_path":"/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/1.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/10.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/11.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/12.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/13.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/14.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/15.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/16.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/17.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/18.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/19.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/2.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/20.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/21.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/3.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/4.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/5.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/6.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/7.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/8.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/9.JPG","status":"normal","click_times":8,"read_times":3,"create_time":1570590827,"update_time":1570590827,"delete_time":null,"words_count":0,"pivot":{"user_id":3,"reader_material_id":41}},{"id":43,"material_category_id":13,"material_name":"我们要去捉狗熊","material_name_pinyin":"wmyqzgx","author":"佚名","author_pinyin":"ym","type":"1","cover_img":"","lt_img":"","rb_img":"","bg_img":"","font_color":"0","center":"0","content":"","media_path":"/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/1.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/10.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/11.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/12.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/13.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/14.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/15.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/16.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/17.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/18.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/19.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/2.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/3.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/4.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/5.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/6.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/7.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/8.JPG,/uploads/material/9761544d3834d8c68c39a205ba7c761552b28d74/9.JPG","status":"normal","click_times":3,"read_times":8,"create_time":1570590962,"update_time":1570590962,"delete_time":null,"words_count":0,"pivot":{"user_id":3,"reader_material_id":43}}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 41
         * material_category_id : 13
         * material_name : 艺术大魔法
         * material_name_pinyin : ysdmf
         * author : 佚名
         * author_pinyin : ym
         * type : 1
         * cover_img :
         * lt_img :
         * rb_img :
         * bg_img :
         * font_color : 0
         * center : 0
         * content :
         * media_path : /uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/1.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/10.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/11.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/12.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/13.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/14.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/15.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/16.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/17.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/18.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/19.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/2.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/20.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/21.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/3.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/4.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/5.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/6.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/7.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/8.JPG,/uploads/material/ab8f708f18c24a7c73f12daefa50255efbd47453/9.JPG
         * status : normal
         * click_times : 8
         * read_times : 3
         * create_time : 1570590827
         * update_time : 1570590827
         * delete_time : null
         * words_count : 0
         * pivot : {"user_id":3,"reader_material_id":41}
         */

        private int id;
        private int material_category_id;
        private String material_name;
        private String material_name_pinyin;
        private String author;
        private String author_pinyin;
        private String type;
        private String cover_img;
        private String lt_img;
        private String rb_img;
        private String bg_img;
        private String font_color;
        private String center;
        private String content;
        private String media_path;
        private String status;
        private int click_times;
        private int read_times;
        private int create_time;
        private int update_time;
        private Object delete_time;
        private int words_count;
        private PivotBean pivot;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMaterial_category_id() {
            return material_category_id;
        }

        public void setMaterial_category_id(int material_category_id) {
            this.material_category_id = material_category_id;
        }

        public String getMaterial_name() {
            return material_name;
        }

        public void setMaterial_name(String material_name) {
            this.material_name = material_name;
        }

        public String getMaterial_name_pinyin() {
            return material_name_pinyin;
        }

        public void setMaterial_name_pinyin(String material_name_pinyin) {
            this.material_name_pinyin = material_name_pinyin;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getAuthor_pinyin() {
            return author_pinyin;
        }

        public void setAuthor_pinyin(String author_pinyin) {
            this.author_pinyin = author_pinyin;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getCover_img() {
            return cover_img;
        }

        public void setCover_img(String cover_img) {
            this.cover_img = cover_img;
        }

        public String getLt_img() {
            return lt_img;
        }

        public void setLt_img(String lt_img) {
            this.lt_img = lt_img;
        }

        public String getRb_img() {
            return rb_img;
        }

        public void setRb_img(String rb_img) {
            this.rb_img = rb_img;
        }

        public String getBg_img() {
            return bg_img;
        }

        public void setBg_img(String bg_img) {
            this.bg_img = bg_img;
        }

        public String getFont_color() {
            return font_color;
        }

        public void setFont_color(String font_color) {
            this.font_color = font_color;
        }

        public String getCenter() {
            return center;
        }

        public void setCenter(String center) {
            this.center = center;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getMedia_path() {
            return media_path;
        }

        public void setMedia_path(String media_path) {
            this.media_path = media_path;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public int getClick_times() {
            return click_times;
        }

        public void setClick_times(int click_times) {
            this.click_times = click_times;
        }

        public int getRead_times() {
            return read_times;
        }

        public void setRead_times(int read_times) {
            this.read_times = read_times;
        }

        public int getCreate_time() {
            return create_time;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public int getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(int update_time) {
            this.update_time = update_time;
        }

        public Object getDelete_time() {
            return delete_time;
        }

        public void setDelete_time(Object delete_time) {
            this.delete_time = delete_time;
        }

        public int getWords_count() {
            return words_count;
        }

        public void setWords_count(int words_count) {
            this.words_count = words_count;
        }

        public PivotBean getPivot() {
            return pivot;
        }

        public void setPivot(PivotBean pivot) {
            this.pivot = pivot;
        }

        public static class PivotBean {
            /**
             * user_id : 3
             * reader_material_id : 41
             */

            private int user_id;
            private int reader_material_id;

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public int getReader_material_id() {
                return reader_material_id;
            }

            public void setReader_material_id(int reader_material_id) {
                this.reader_material_id = reader_material_id;
            }
        }
    }
}
